package com.jg.blog.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @Description
 * @Date: 2020/6/6 8:39
 * @Author: Dream
 * @version: 1.0
 */
@PropertySource("classpath:weixin.properties")
@Configuration
@Component
@Data
public class WeChatConfig {
    @Value("${appId}")
    private String appId;

    @Value("${appSecret}")
    private String appSecret;

    @Value("${weixinAuthUrl}")
    private String weixinAuthUrl;
}
